import request from '@/utils/request'

export function listKdp(data) {
    return request({
        url: 'work/kdpInfo',
        method: 'post',
        data: data
    })
}

// 修改tb
export function updateKdp(data) {
    return request({
        url: '/work/kdp',
        method: 'put',
        data: data
    })
}

// 删除tb
export function delKdp(text) {
    return request({
        url: '/work/kdp/' + text,
        method: 'delete'
    })
}

export function addKdp(data) {
    return request({
        url: '/work/kdp',
        method: 'post',
        data: data
    })
}